<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{$config_sitename}</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="__CSS__/daoshipp.css" rel="stylesheet">
</head>
<body class="body-pad cl-b-lgrey">
	<div class="loading-wrapper">
		<div class="loading"></div>
	</div>
	<div class="daoshi-wrapper">
		<div class="ub ub-ac page-header">
			<a href="javascript:history.back();" class="clickable"><span class="icon-back"></span></a>
			<div class="ub-f1 page-name">
				<span class="daoshi-page-name">
					导师专栏
					<span class="icon-top-triangle"></span>
					<ul class="daoshi-choose f14">
					<foreach name="category" item="cat">
						<li class="daoshi-choose-item <if condition="$cat.catid eq $catid">active</if>">
				            <a href="__WEBURL__{:U('Teach/index')}?catid={$cat.catid}" class="cl-b-white clickable cl-f-black ub ub-ac ub-pc <if condition="$cat.catid eq $catid">active</if>">
						        <span class="icon-cake" style="background-image: url({$cat.wap_image});"></span>{$cat.catname}
					        </a>
				        </li>
			        </foreach>
					</ul>
				</span>
			</div>
			<a href="#" class="clickable-deep"><span class="icon-empty"></span></a>
		</div>
		<div class="banner-img">
		<foreach name="ad" item="aa">
			<img src="{$aa.image}" alt="" class="href-js" data-url="{$aa.linkurl}">
		</foreach>
		</div>
		<div id="scroll-wrapper">
            <div id="scroller">
        		<ul class="daoshi-con" id="thelist" data-type="teachcenter" data-url="__WEBURL__{:U('Teach/index')}?catid={$catid}">
        			<foreach name="list" item="lt">
                		<li class="dongtai-item cl-b-white row clickable href-js" data-url="{:U('Teach/detail')}?teachid={$lt.teachid}">
                			<div class="ub ub-ac">
                			<if condition="$lt.ifimg eq 1">
                				<div class="dongtai-img lazy" data-original="{$lt.image}">
                					<img src="__IMAGES__/odaoshi.png" class="oimg">
                					<if condition="$lt.iflight eq 1">
                					<img src="__IMAGES__/jian.png" alt="" class="jian">
                					</if>
                				</div>
            				<else/>
            				    <div class="dongtai-img lazy" data-original="__IMAGES__/touxiang5.png">
                					<img src="__IMAGES__/odaoshi.png" class="oimg">
                					<if condition="$lt.iflight eq 1">
                					<img src="__IMAGES__/jian.png" alt="" class="jian">
                					</if>
                				</div>
            				</if>
                				<div class="ub-f1 dongtai-text">
                					<h3 class="cl-f-dgrey f14 ">
                					{$lt.title}
                					
                					<if condition="$lt.type eq 2">
                					   <span class="mark cl-b-orange cl-f-white" >作品</span>
                					</if>
                					</h3>
                					<p class="daoshi-text cl-f-lgrey f12">{$lt.content}</p>
                					<div class="option-wrapper ub">
                						<div class="comment ub ub-pc ub-ac ub-f1">
                					    	<span class="icon-comment-grey"></span><p class="comment-text cl-f-lgrey f12">{$lt.msgnum}</p>
                					    	<span class="user-daoshi-r ub-f1 cl-f-lgrey f12"><span class="cl-f-orange">{$lt.nickname}</span>{$lt.create_time}</span>
                					    </div>
                					</div>
                				</div>
                			</div>
                		</li>
            		</foreach>
        		</ul>
        		<div class="add-loading ssp-loading">
        			<div class="rect1"></div>
        			<div class="rect2"></div>
        			<div class="rect3"></div>
        			<div class="rect4"></div>
        			<div class="rect5"></div>
        		</div>
    		</div>
		</div>
		<div class="ssp-footer ub ub-pc ub-ac cl-b-white f16 clickable page-footer href-js" data-url="{:U('teach/add')}"><img src="__IMAGES__/icon-write.png"><span>发布话题</span></div>
	</div>
	<script src="__JS__/jquery-1.11.1.min.js"></script>
	<script src="__JS__/jquery.lazyload.min.js"></script>
    <script src="__JS__/custom.js?t=201601200908"></script>
    <script src="__JS__/teach.js?t=201601201003"></script>
    <script src="__JS__/page.js?t=201512301738"></script>
    <script src="__JS__/common.js?t=201512301606"></script>
    <script>
    var img_url = "__IMAGES__";
	
    $(function(){
        $('.daoshi-wrapper').on('click', '.href-js', function(e){
            e.preventDefault();
            var url = $(this).attr('data-url');
            if(url == undefined || url == '')
            {
                return false;
            }
            location.href = url;
        });
    });
    </script>
</body>
</html>